how to create timer in flutter

92

Timer(Duration(seconds: 3), () {
  print("Yeah, this line is printed after 3 second");
});

print('This line is printed first');
Copied!

Comments

Submit
0 Comments